package ${packageName}.service;

import ${packageName}.dao.UserDAO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by sivan on 2019/3/8.
 */
@Service
public class UserService {

    @Autowired
    private UserDAO userDAO;

    public String getPasswordByUserName(String userName){
        return this.userDAO.getMobilePhone(userName);
    }
}
